package com.horay.statemachiedemo.multi.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * Class description
 *
 * @author heyingcheng
 * @date 2020/10/23
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class Order {

    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 订单收货地址
     */
    private String address;
    /**
     * 订单手机号
     */
    private String phoneNum;
    /**
     * 订单状态
     */
    private Integer orderState;

    public Order(String orderId, String userId, String address, String phoneNum) {
        this.orderId = orderId;
        this.userId = userId;
        this.address = address;
        this.phoneNum = phoneNum;
    }
    
}
